package com.wxsoft.java.demo02.designpattern.adapter.outlet;
/**
 * ��������ͨ�����࣬���߲�������ʹ�����߲������ӵ�Դ
 * @author Administrator
 *
 */
public class TreeElecricAdapter implements IThreeElectricOutlet{
	private ITwoElectricOutlet outlet;
	public TreeElecricAdapter(ITwoElectricOutlet outlet){
		this.outlet = outlet;
	}
	@Override
	public void connectElectricCurrentByTreeFoot() {
		outlet.connectElectricCurrentByTwoFoot();
	}
}
